package com.ysd.lis.controller.lab;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.request.wl.WlConfigSettingParam;
import com.ysd.lis.service.lab.WlConfigRulessettingService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 启动对象配置 前端控制器
 * </p>
 *
 * @author WangHao
 * @since 2024-01-18
 */
@RestController
@RequestMapping("/lab/wlConfigRulessetting")
public class WlConfigRulessettingController extends BaseController {

    @Autowired
    private WlConfigRulessettingService wlConfigRulessettingService;

    @ApiOperation("通过配置id获取病人信息")
    @GetMapping("/findRulessettingByConfigId")
    public Result findRulessettingByConfigId(WlConfigSettingParam wlConfigParam) {
        return wlConfigRulessettingService.findRulessettingByConfigId(wlConfigParam);
    }

}
